<!-- Begin Main Menu -->
<div class="ewMenu">
<?php $RootMenu = new cMenu(EW_MENUBAR_ID) ?>
<?php

// Generate all menu items
$RootMenu->IsRoot = TRUE;
$RootMenu->AddMenuItem(31, $Language->MenuPhrase("31", "MenuText"), "presu_presupuestoslist.php", -1, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(113, $Language->MenuPhrase("113", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(29, $Language->MenuPhrase("29", "MenuText"), "presu_gestioneslist.php", 113, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(28, $Language->MenuPhrase("28", "MenuText"), "presu_estadoslist.php", 113, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(32, $Language->MenuPhrase("32", "MenuText"), "presu_tipo_gestioneslist.php", 113, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(30, $Language->MenuPhrase("30", "MenuText"), "presu_motivoslist.php", 113, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(46, $Language->MenuPhrase("46", "MenuText"), "presu_campanaslist.php", -1, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(49, $Language->MenuPhrase("49", "MenuText"), "presu_encuestaslist.php", -1, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(112, $Language->MenuPhrase("112", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(43, $Language->MenuPhrase("43", "MenuText"), "usuarioslist.php", 112, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(52, $Language->MenuPhrase("52", "MenuText"), "presu_parametroslist.php", 112, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(53, $Language->MenuPhrase("53", "MenuText"), "presu_vendedoreslist.php", 112, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(-1, $Language->Phrase("Logout"), "logout.php", -1, "", IsLoggedIn());
$RootMenu->AddMenuItem(-1, $Language->Phrase("Login"), "login.php", -1, "", !IsLoggedIn() && substr(@$_SERVER["URL"], -1 * strlen("login.php")) <> "login.php");
$RootMenu->Render();
?>
</div>
<!-- End Main Menu -->
